package com.itsxb.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WechatRegisterDto {
    //JSR303校验 校验前端传过来的数据是否为空
    @NotEmpty(message = "账号不能为空")
    private String loginCode;
    @NotEmpty(message = "手机号不能为空")
    private String phoneCode;
}
